package com.ruoyi.project.cwsk.channelsub.domain;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import com.ruoyi.project.system.user.domain.User;

/**
 * 渠道管理对象 sys_channel_sub_user
 * 
 * @author songzc
 * @date 2020-01-03
 */
public class ChannelSubUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Integer id;

    /** 子用户id */
    @Excel(name = "子用户id")
    private Long userId;

    /** 子用户拥有的cid */
    private String cid;

    /** 创建者id */
    private Long creatorId;

    /** 渠道名称 */
    @Excel(name = "渠道名称")
    private String channelName;

    /** 渠道缩写 */
    @Excel(name = "渠道缩写")
    private String channelAcronym;

    /** 简称 */
    @Excel(name = "简称")
    private String channelAbbreviation;

    /** 渠道类型 */
    @Excel(name = "渠道类型")
    private String model;

    /** 结算方式 */
    private Integer settleType;

    /** 结算周期 */
    private Integer settlePeriod;

    /** 收款方户名 */
    private String accountName;

    /** 收款银行 */
    private String accountBank;

    /** 收款方帐号 */
    private String accountNumber;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contact;

    /** QQ */
    private String qq;

    /** 联系电话 */
    private String mobile;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 邮箱 */
    private String email;

    /** 查看游戏收益统计(1 有权，0 无权) */
    private Integer gameIncomeStatPower;

    /** 添加临时字段做数据校正 */
    private Integer uuu;

    /** 查看渠道收益统计 */
    private Integer channelProfitPower;

    /** 查看用户注册明细 */
    private Integer registrationPower;

    /** 查看充值明细 */
    private Integer rechargePower;

    /** 是否允许代充 */
    private Integer allowGeneration;

    /** 查看CPS用户注册明细 */
    private Integer cpsRegistrationPower;
    
    private List<String> cidList;
    
    private User user;
    
    

    public List<String> getCidList() {
		return cidList;
	}

	public void setCidList(List<String> cidList) {
		this.cidList = cidList;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCid(String cid) 
    {
        this.cid = cid;
    }

    public String getCid() 
    {
        return cid;
    }
    public void setCreatorId(Long creatorId) 
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() 
    {
        return creatorId;
    }
    public void setChannelName(String channelName) 
    {
        this.channelName = channelName;
    }

    public String getChannelName() 
    {
        return channelName;
    }
    public void setChannelAcronym(String channelAcronym) 
    {
        this.channelAcronym = channelAcronym;
    }

    public String getChannelAcronym() 
    {
        return channelAcronym;
    }
    public void setChannelAbbreviation(String channelAbbreviation) 
    {
        this.channelAbbreviation = channelAbbreviation;
    }

    public String getChannelAbbreviation() 
    {
        return channelAbbreviation;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setSettleType(Integer settleType) 
    {
        this.settleType = settleType;
    }

    public Integer getSettleType() 
    {
        return settleType;
    }
    public void setSettlePeriod(Integer settlePeriod) 
    {
        this.settlePeriod = settlePeriod;
    }

    public Integer getSettlePeriod() 
    {
        return settlePeriod;
    }
    public void setAccountName(String accountName) 
    {
        this.accountName = accountName;
    }

    public String getAccountName() 
    {
        return accountName;
    }
    public void setAccountBank(String accountBank) 
    {
        this.accountBank = accountBank;
    }

    public String getAccountBank() 
    {
        return accountBank;
    }
    public void setAccountNumber(String accountNumber) 
    {
        this.accountNumber = accountNumber;
    }

    public String getAccountNumber() 
    {
        return accountNumber;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setQq(String qq) 
    {
        this.qq = qq;
    }

    public String getQq() 
    {
        return qq;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setGameIncomeStatPower(Integer gameIncomeStatPower) 
    {
        this.gameIncomeStatPower = gameIncomeStatPower;
    }

    public Integer getGameIncomeStatPower() 
    {
        return gameIncomeStatPower;
    }
    public void setUuu(Integer uuu) 
    {
        this.uuu = uuu;
    }

    public Integer getUuu() 
    {
        return uuu;
    }
    public void setChannelProfitPower(Integer channelProfitPower) 
    {
        this.channelProfitPower = channelProfitPower;
    }

    public Integer getChannelProfitPower() 
    {
        return channelProfitPower;
    }
    public void setRegistrationPower(Integer registrationPower) 
    {
        this.registrationPower = registrationPower;
    }

    public Integer getRegistrationPower() 
    {
        return registrationPower;
    }
    public void setRechargePower(Integer rechargePower) 
    {
        this.rechargePower = rechargePower;
    }

    public Integer getRechargePower() 
    {
        return rechargePower;
    }
    public void setAllowGeneration(Integer allowGeneration) 
    {
        this.allowGeneration = allowGeneration;
    }

    public Integer getAllowGeneration() 
    {
        return allowGeneration;
    }
    public void setCpsRegistrationPower(Integer cpsRegistrationPower) 
    {
        this.cpsRegistrationPower = cpsRegistrationPower;
    }

    public Integer getCpsRegistrationPower() 
    {
        return cpsRegistrationPower;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("cid", getCid())
            .append("creatorId", getCreatorId())
            .append("channelName", getChannelName())
            .append("channelAcronym", getChannelAcronym())
            .append("channelAbbreviation", getChannelAbbreviation())
            .append("model", getModel())
            .append("settleType", getSettleType())
            .append("settlePeriod", getSettlePeriod())
            .append("accountName", getAccountName())
            .append("accountBank", getAccountBank())
            .append("accountNumber", getAccountNumber())
            .append("contact", getContact())
            .append("qq", getQq())
            .append("mobile", getMobile())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("remark", getRemark())
            .append("gameIncomeStatPower", getGameIncomeStatPower())
            .append("uuu", getUuu())
            .append("channelProfitPower", getChannelProfitPower())
            .append("registrationPower", getRegistrationPower())
            .append("rechargePower", getRechargePower())
            .append("allowGeneration", getAllowGeneration())
            .append("cpsRegistrationPower", getCpsRegistrationPower())
            .append("createTime", getCreateTime())
            .toString();
    }
}
